3.1.100 \(\int \frac {\sin ^6(c+d x)}{(a+b \sin ^2(c+d x))^2} \, dx\) [100]

Optimal. Leaf size=148 \[ -\frac {(4 a-b) x}{2 b^3}+\frac {a^{3/2} (4 a+5 b) \tan ^{-1}\left (\frac {\sqrt {a+b} \tan (c+d x)}{\sqrt {a}}\right )}{2 b^3 (a+b)^{3/2} d}-\frac {a (2 a+b) \tan (c+d x)}{2 b^2 (a+b) d \left (a+(a+b) \tan ^2(c+d x)\right )}-\frac {\sin ^2(c+d x) \tan (c+d x)}{2 b d \left (a+(a+b) \tan ^2(c+d x)\right )} \]

[Out]

-1/2*(4*a-b)*x/b^3+1/2*a^(3/2)*(4*a+5*b)*arctan((a+b)^(1/2)*tan(d*x+c)/a^(1/2))/b^3/(a+b)^(3/2)/d-1/2*a*(2*a+b
)*tan(d*x+c)/b^2/(a+b)/d/(a+(a+b)*tan(d*x+c)^2)-1/2*sin(d*x+c)^2*tan(d*x+c)/b/d/(a+(a+b)*tan(d*x+c)^2)

________________________________________________________________________________________

Rubi [A]
time = 0.18, antiderivative size = 148, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 6, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.261, Rules used = {3266, 481, 592, 536, 209, 211} \begin {gather*} \frac {a^{3/2} (4 a+5 b) \text {ArcTan}\left (\frac {\sqrt {a+b} \tan (c+d x)}{\sqrt {a}}\right )}{2 b^3 d (a+b)^{3/2}}-\frac {x (4 a-b)}{2 b^3}-\frac {a (2 a+b) \tan (c+d x)}{2 b^2 d (a+b) \left ((a+b) \tan ^2(c+d x)+a\right )}-\frac {\sin ^2(c+d x) \tan (c+d x)}{2 b d \left ((a+b) \tan ^2(c+d x)+a\right )} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Sin[c + d*x]^6/(a + b*Sin[c + d*x]^2)^2,x]

[Out]

-1/2*((4*a - b)*x)/b^3 + (a^(3/2)*(4*a + 5*b)*ArcTan[(Sqrt[a + b]*Tan[c + d*x])/Sqrt[a]])/(2*b^3*(a + b)^(3/2)
*d) - (a*(2*a + b)*Tan[c + d*x])/(2*b^2*(a + b)*d*(a + (a + b)*Tan[c + d*x]^2)) - (Sin[c + d*x]^2*Tan[c + d*x]
)/(2*b*d*(a + (a + b)*Tan[c + d*x]^2))

Rule 209

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[b, 2]))*ArcTan[Rt[b, 2]*(x/Rt[a, 2])], x] /;
 FreeQ[{a, b}, x] && PosQ[a/b] && (GtQ[a, 0] || GtQ[b, 0])

Rule 211

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]/a)*ArcTan[x/Rt[a/b, 2]], x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]

Rule 481

Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_))^(q_), x_Symbol] :> Simp[(-a)*e^(
2*n - 1)*(e*x)^(m - 2*n + 1)*(a + b*x^n)^(p + 1)*((c + d*x^n)^(q + 1)/(b*n*(b*c - a*d)*(p + 1))), x] + Dist[e^
(2*n)/(b*n*(b*c - a*d)*(p + 1)), Int[(e*x)^(m - 2*n)*(a + b*x^n)^(p + 1)*(c + d*x^n)^q*Simp[a*c*(m - 2*n + 1)
+ (a*d*(m - n + n*q + 1) + b*c*n*(p + 1))*x^n, x], x], x] /; FreeQ[{a, b, c, d, e, q}, x] && NeQ[b*c - a*d, 0]
 && IGtQ[n, 0] && LtQ[p, -1] && GtQ[m - n + 1, n] && IntBinomialQ[a, b, c, d, e, m, n, p, q, x]

Rule 536

Int[((e_) + (f_.)*(x_)^(n_))/(((a_) + (b_.)*(x_)^(n_))*((c_) + (d_.)*(x_)^(n_))), x_Symbol] :> Dist[(b*e - a*f
)/(b*c - a*d), Int[1/(a + b*x^n), x], x] - Dist[(d*e - c*f)/(b*c - a*d), Int[1/(c + d*x^n), x], x] /; FreeQ[{a
, b, c, d, e, f, n}, x]

Rule 592

Int[((g_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_)*((c_) + (d_.)*(x_)^(n_))^(q_)*((e_) + (f_.)*(x_)^(n_)), x
_Symbol] :> Simp[g^(n - 1)*(b*e - a*f)*(g*x)^(m - n + 1)*(a + b*x^n)^(p + 1)*((c + d*x^n)^(q + 1)/(b*n*(b*c -
a*d)*(p + 1))), x] - Dist[g^n/(b*n*(b*c - a*d)*(p + 1)), Int[(g*x)^(m - n)*(a + b*x^n)^(p + 1)*(c + d*x^n)^q*S
imp[c*(b*e - a*f)*(m - n + 1) + (d*(b*e - a*f)*(m + n*q + 1) - b*n*(c*f - d*e)*(p + 1))*x^n, x], x], x] /; Fre
eQ[{a, b, c, d, e, f, g, q}, x] && IGtQ[n, 0] && LtQ[p, -1] && GtQ[m - n + 1, 0]

Rule 3266

Int[sin[(e_.) + (f_.)*(x_)]^(m_)*((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)]^2)^(p_.), x_Symbol] :> With[{ff = FreeF
actors[Tan[e + f*x], x]}, Dist[ff^(m + 1)/f, Subst[Int[x^m*((a + (a + b)*ff^2*x^2)^p/(1 + ff^2*x^2)^(m/2 + p +
 1)), x], x, Tan[e + f*x]/ff], x]] /; FreeQ[{a, b, e, f}, x] && IntegerQ[m/2] && IntegerQ[p]

Rubi steps

\begin {align*} \int \frac {\sin ^6(c+d x)}{\left (a+b \sin ^2(c+d x)\right )^2} \, dx &=\frac {\text {Subst}\left (\int \frac {x^6}{\left (1+x^2\right )^2 \left (a+(a+b) x^2\right )^2} \, dx,x,\tan (c+d x)\right )}{d}\\ &=-\frac {\sin ^2(c+d x) \tan (c+d x)}{2 b d \left (a+(a+b) \tan ^2(c+d x)\right )}+\frac {\text {Subst}\left (\int \frac {x^2 \left (3 a+(-a+b) x^2\right )}{\left (1+x^2\right ) \left (a+(a+b) x^2\right )^2} \, dx,x,\tan (c+d x)\right )}{2 b d}\\ &=-\frac {a (2 a+b) \tan (c+d x)}{2 b^2 (a+b) d \left (a+(a+b) \tan ^2(c+d x)\right )}-\frac {\sin ^2(c+d x) \tan (c+d x)}{2 b d \left (a+(a+b) \tan ^2(c+d x)\right )}+\frac {\text {Subst}\left (\int \frac {2 a (2 a+b)-2 \left (2 a^2+2 a b-b^2\right ) x^2}{\left (1+x^2\right ) \left (a+(a+b) x^2\right )} \, dx,x,\tan (c+d x)\right )}{4 b^2 (a+b) d}\\ &=-\frac {a (2 a+b) \tan (c+d x)}{2 b^2 (a+b) d \left (a+(a+b) \tan ^2(c+d x)\right )}-\frac {\sin ^2(c+d x) \tan (c+d x)}{2 b d \left (a+(a+b) \tan ^2(c+d x)\right )}-\frac {(4 a-b) \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\tan (c+d x)\right )}{2 b^3 d}+\frac {\left (a^2 (4 a+5 b)\right ) \text {Subst}\left (\int \frac {1}{a+(a+b) x^2} \, dx,x,\tan (c+d x)\right )}{2 b^3 (a+b) d}\\ &=-\frac {(4 a-b) x}{2 b^3}+\frac {a^{3/2} (4 a+5 b) \tan ^{-1}\left (\frac {\sqrt {a+b} \tan (c+d x)}{\sqrt {a}}\right )}{2 b^3 (a+b)^{3/2} d}-\frac {a (2 a+b) \tan (c+d x)}{2 b^2 (a+b) d \left (a+(a+b) \tan ^2(c+d x)\right )}-\frac {\sin ^2(c+d x) \tan (c+d x)}{2 b d \left (a+(a+b) \tan ^2(c+d x)\right )}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 1.04, size = 106, normalized size = 0.72 \begin {gather*} \frac {-2 (4 a-b) (c+d x)+\frac {2 a^{3/2} (4 a+5 b) \tan ^{-1}\left (\frac {\sqrt {a+b} \tan (c+d x)}{\sqrt {a}}\right )}{(a+b)^{3/2}}+b \left (-1-\frac {2 a^2}{(a+b) (2 a+b-b \cos (2 (c+d x)))}\right ) \sin (2 (c+d x))}{4 b^3 d} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Sin[c + d*x]^6/(a + b*Sin[c + d*x]^2)^2,x]

[Out]

(-2*(4*a - b)*(c + d*x) + (2*a^(3/2)*(4*a + 5*b)*ArcTan[(Sqrt[a + b]*Tan[c + d*x])/Sqrt[a]])/(a + b)^(3/2) + b
*(-1 - (2*a^2)/((a + b)*(2*a + b - b*Cos[2*(c + d*x)])))*Sin[2*(c + d*x)])/(4*b^3*d)

________________________________________________________________________________________

Maple [A]
time = 0.31, size = 134, normalized size = 0.91

method result size
derivativedivides \(\frac {\frac {a^{2} \left (-\frac {b \tan \left (d x +c \right )}{2 \left (a +b \right ) \left (a \left (\tan ^{2}\left (d x +c \right )\right )+b \left (\tan ^{2}\left (d x +c \right )\right )+a \right )}+\frac {\left (4 a +5 b \right ) \arctan \left (\frac {\left (a +b \right ) \tan \left (d x +c \right )}{\sqrt {a \left (a +b \right )}}\right )}{2 \left (a +b \right ) \sqrt {a \left (a +b \right )}}\right )}{b^{3}}-\frac {\frac {b \tan \left (d x +c \right )}{2 \left (\tan ^{2}\left (d x +c \right )\right )+2}+\frac {\left (4 a -b \right ) \arctan \left (\tan \left (d x +c \right )\right )}{2}}{b^{3}}}{d}\) \(134\)
default \(\frac {\frac {a^{2} \left (-\frac {b \tan \left (d x +c \right )}{2 \left (a +b \right ) \left (a \left (\tan ^{2}\left (d x +c \right )\right )+b \left (\tan ^{2}\left (d x +c \right )\right )+a \right )}+\frac {\left (4 a +5 b \right ) \arctan \left (\frac {\left (a +b \right ) \tan \left (d x +c \right )}{\sqrt {a \left (a +b \right )}}\right )}{2 \left (a +b \right ) \sqrt {a \left (a +b \right )}}\right )}{b^{3}}-\frac {\frac {b \tan \left (d x +c \right )}{2 \left (\tan ^{2}\left (d x +c \right )\right )+2}+\frac {\left (4 a -b \right ) \arctan \left (\tan \left (d x +c \right )\right )}{2}}{b^{3}}}{d}\) \(134\)
risch \(-\frac {2 a x}{b^{3}}+\frac {x}{2 b^{2}}+\frac {i {\mathrm e}^{2 i \left (d x +c \right )}}{8 b^{2} d}-\frac {i {\mathrm e}^{-2 i \left (d x +c \right )}}{8 b^{2} d}+\frac {i a^{2} \left (2 a \,{\mathrm e}^{2 i \left (d x +c \right )}+b \,{\mathrm e}^{2 i \left (d x +c \right )}-b \right )}{b^{3} \left (a +b \right ) d \left (-b \,{\mathrm e}^{4 i \left (d x +c \right )}+4 a \,{\mathrm e}^{2 i \left (d x +c \right )}+2 b \,{\mathrm e}^{2 i \left (d x +c \right )}-b \right )}-\frac {\sqrt {-a \left (a +b \right )}\, a^{2} \ln \left ({\mathrm e}^{2 i \left (d x +c \right )}-\frac {2 i \sqrt {-a \left (a +b \right )}+2 a +b}{b}\right )}{\left (a +b \right )^{2} d \,b^{3}}-\frac {5 \sqrt {-a \left (a +b \right )}\, a \ln \left ({\mathrm e}^{2 i \left (d x +c \right )}-\frac {2 i \sqrt {-a \left (a +b \right )}+2 a +b}{b}\right )}{4 \left (a +b \right )^{2} d \,b^{2}}+\frac {\sqrt {-a \left (a +b \right )}\, a^{2} \ln \left ({\mathrm e}^{2 i \left (d x +c \right )}+\frac {2 i \sqrt {-a \left (a +b \right )}-2 a -b}{b}\right )}{\left (a +b \right )^{2} d \,b^{3}}+\frac {5 \sqrt {-a \left (a +b \right )}\, a \ln \left ({\mathrm e}^{2 i \left (d x +c \right )}+\frac {2 i \sqrt {-a \left (a +b \right )}-2 a -b}{b}\right )}{4 \left (a +b \right )^{2} d \,b^{2}}\) \(358\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(d*x+c)^6/(a+sin(d*x+c)^2*b)^2,x,method=_RETURNVERBOSE)

[Out]

1/d*(a^2/b^3*(-1/2*b/(a+b)*tan(d*x+c)/(a*tan(d*x+c)^2+b*tan(d*x+c)^2+a)+1/2*(4*a+5*b)/(a+b)/(a*(a+b))^(1/2)*ar
ctan((a+b)*tan(d*x+c)/(a*(a+b))^(1/2)))-1/b^3*(1/2*b*tan(d*x+c)/(tan(d*x+c)^2+1)+1/2*(4*a-b)*arctan(tan(d*x+c)
)))

________________________________________________________________________________________

Maxima [A]
time = 0.56, size = 181, normalized size = 1.22 \begin {gather*} \frac {\frac {{\left (4 \, a^{3} + 5 \, a^{2} b\right )} \arctan \left (\frac {{\left (a + b\right )} \tan \left (d x + c\right )}{\sqrt {{\left (a + b\right )} a}}\right )}{{\left (a b^{3} + b^{4}\right )} \sqrt {{\left (a + b\right )} a}} - \frac {{\left (2 \, a^{2} + 2 \, a b + b^{2}\right )} \tan \left (d x + c\right )^{3} + {\left (2 \, a^{2} + a b\right )} \tan \left (d x + c\right )}{{\left (a^{2} b^{2} + 2 \, a b^{3} + b^{4}\right )} \tan \left (d x + c\right )^{4} + a^{2} b^{2} + a b^{3} + {\left (2 \, a^{2} b^{2} + 3 \, a b^{3} + b^{4}\right )} \tan \left (d x + c\right )^{2}} - \frac {{\left (d x + c\right )} {\left (4 \, a - b\right )}}{b^{3}}}{2 \, d} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(d*x+c)^6/(a+b*sin(d*x+c)^2)^2,x, algorithm="maxima")

[Out]

1/2*((4*a^3 + 5*a^2*b)*arctan((a + b)*tan(d*x + c)/sqrt((a + b)*a))/((a*b^3 + b^4)*sqrt((a + b)*a)) - ((2*a^2
+ 2*a*b + b^2)*tan(d*x + c)^3 + (2*a^2 + a*b)*tan(d*x + c))/((a^2*b^2 + 2*a*b^3 + b^4)*tan(d*x + c)^4 + a^2*b^
2 + a*b^3 + (2*a^2*b^2 + 3*a*b^3 + b^4)*tan(d*x + c)^2) - (d*x + c)*(4*a - b)/b^3)/d

________________________________________________________________________________________

Fricas [A]
time = 0.42, size = 623, normalized size = 4.21 \begin {gather*} \left [-\frac {4 \, {\left (4 \, a^{2} b + 3 \, a b^{2} - b^{3}\right )} d x \cos \left (d x + c\right )^{2} - 4 \, {\left (4 \, a^{3} + 7 \, a^{2} b + 2 \, a b^{2} - b^{3}\right )} d x + {\left (4 \, a^{3} + 9 \, a^{2} b + 5 \, a b^{2} - {\left (4 \, a^{2} b + 5 \, a b^{2}\right )} \cos \left (d x + c\right )^{2}\right )} \sqrt {-\frac {a}{a + b}} \log \left (\frac {{\left (8 \, a^{2} + 8 \, a b + b^{2}\right )} \cos \left (d x + c\right )^{4} - 2 \, {\left (4 \, a^{2} + 5 \, a b + b^{2}\right )} \cos \left (d x + c\right )^{2} - 4 \, {\left ({\left (2 \, a^{2} + 3 \, a b + b^{2}\right )} \cos \left (d x + c\right )^{3} - {\left (a^{2} + 2 \, a b + b^{2}\right )} \cos \left (d x + c\right )\right )} \sqrt {-\frac {a}{a + b}} \sin \left (d x + c\right ) + a^{2} + 2 \, a b + b^{2}}{b^{2} \cos \left (d x + c\right )^{4} - 2 \, {\left (a b + b^{2}\right )} \cos \left (d x + c\right )^{2} + a^{2} + 2 \, a b + b^{2}}\right ) + 4 \, {\left ({\left (a b^{2} + b^{3}\right )} \cos \left (d x + c\right )^{3} - {\left (2 \, a^{2} b + 2 \, a b^{2} + b^{3}\right )} \cos \left (d x + c\right )\right )} \sin \left (d x + c\right )}{8 \, {\left ({\left (a b^{4} + b^{5}\right )} d \cos \left (d x + c\right )^{2} - {\left (a^{2} b^{3} + 2 \, a b^{4} + b^{5}\right )} d\right )}}, -\frac {2 \, {\left (4 \, a^{2} b + 3 \, a b^{2} - b^{3}\right )} d x \cos \left (d x + c\right )^{2} - 2 \, {\left (4 \, a^{3} + 7 \, a^{2} b + 2 \, a b^{2} - b^{3}\right )} d x - {\left (4 \, a^{3} + 9 \, a^{2} b + 5 \, a b^{2} - {\left (4 \, a^{2} b + 5 \, a b^{2}\right )} \cos \left (d x + c\right )^{2}\right )} \sqrt {\frac {a}{a + b}} \arctan \left (\frac {{\left ({\left (2 \, a + b\right )} \cos \left (d x + c\right )^{2} - a - b\right )} \sqrt {\frac {a}{a + b}}}{2 \, a \cos \left (d x + c\right ) \sin \left (d x + c\right )}\right ) + 2 \, {\left ({\left (a b^{2} + b^{3}\right )} \cos \left (d x + c\right )^{3} - {\left (2 \, a^{2} b + 2 \, a b^{2} + b^{3}\right )} \cos \left (d x + c\right )\right )} \sin \left (d x + c\right )}{4 \, {\left ({\left (a b^{4} + b^{5}\right )} d \cos \left (d x + c\right )^{2} - {\left (a^{2} b^{3} + 2 \, a b^{4} + b^{5}\right )} d\right )}}\right ] \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(d*x+c)^6/(a+b*sin(d*x+c)^2)^2,x, algorithm="fricas")

[Out]

[-1/8*(4*(4*a^2*b + 3*a*b^2 - b^3)*d*x*cos(d*x + c)^2 - 4*(4*a^3 + 7*a^2*b + 2*a*b^2 - b^3)*d*x + (4*a^3 + 9*a
^2*b + 5*a*b^2 - (4*a^2*b + 5*a*b^2)*cos(d*x + c)^2)*sqrt(-a/(a + b))*log(((8*a^2 + 8*a*b + b^2)*cos(d*x + c)^
4 - 2*(4*a^2 + 5*a*b + b^2)*cos(d*x + c)^2 - 4*((2*a^2 + 3*a*b + b^2)*cos(d*x + c)^3 - (a^2 + 2*a*b + b^2)*cos
(d*x + c))*sqrt(-a/(a + b))*sin(d*x + c) + a^2 + 2*a*b + b^2)/(b^2*cos(d*x + c)^4 - 2*(a*b + b^2)*cos(d*x + c)
^2 + a^2 + 2*a*b + b^2)) + 4*((a*b^2 + b^3)*cos(d*x + c)^3 - (2*a^2*b + 2*a*b^2 + b^3)*cos(d*x + c))*sin(d*x +
 c))/((a*b^4 + b^5)*d*cos(d*x + c)^2 - (a^2*b^3 + 2*a*b^4 + b^5)*d), -1/4*(2*(4*a^2*b + 3*a*b^2 - b^3)*d*x*cos
(d*x + c)^2 - 2*(4*a^3 + 7*a^2*b + 2*a*b^2 - b^3)*d*x - (4*a^3 + 9*a^2*b + 5*a*b^2 - (4*a^2*b + 5*a*b^2)*cos(d
*x + c)^2)*sqrt(a/(a + b))*arctan(1/2*((2*a + b)*cos(d*x + c)^2 - a - b)*sqrt(a/(a + b))/(a*cos(d*x + c)*sin(d
*x + c))) + 2*((a*b^2 + b^3)*cos(d*x + c)^3 - (2*a^2*b + 2*a*b^2 + b^3)*cos(d*x + c))*sin(d*x + c))/((a*b^4 +
b^5)*d*cos(d*x + c)^2 - (a^2*b^3 + 2*a*b^4 + b^5)*d)]

________________________________________________________________________________________

Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(d*x+c)**6/(a+b*sin(d*x+c)**2)**2,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [A]
time = 0.47, size = 223, normalized size = 1.51 \begin {gather*} \frac {\frac {{\left (4 \, a^{3} + 5 \, a^{2} b\right )} {\left (\pi \left \lfloor \frac {d x + c}{\pi } + \frac {1}{2} \right \rfloor \mathrm {sgn}\left (2 \, a + 2 \, b\right ) + \arctan \left (\frac {a \tan \left (d x + c\right ) + b \tan \left (d x + c\right )}{\sqrt {a^{2} + a b}}\right )\right )}}{{\left (a b^{3} + b^{4}\right )} \sqrt {a^{2} + a b}} - \frac {2 \, a^{2} \tan \left (d x + c\right )^{3} + 2 \, a b \tan \left (d x + c\right )^{3} + b^{2} \tan \left (d x + c\right )^{3} + 2 \, a^{2} \tan \left (d x + c\right ) + a b \tan \left (d x + c\right )}{{\left (a \tan \left (d x + c\right )^{4} + b \tan \left (d x + c\right )^{4} + 2 \, a \tan \left (d x + c\right )^{2} + b \tan \left (d x + c\right )^{2} + a\right )} {\left (a b^{2} + b^{3}\right )}} - \frac {{\left (d x + c\right )} {\left (4 \, a - b\right )}}{b^{3}}}{2 \, d} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sin(d*x+c)^6/(a+b*sin(d*x+c)^2)^2,x, algorithm="giac")

[Out]

1/2*((4*a^3 + 5*a^2*b)*(pi*floor((d*x + c)/pi + 1/2)*sgn(2*a + 2*b) + arctan((a*tan(d*x + c) + b*tan(d*x + c))
/sqrt(a^2 + a*b)))/((a*b^3 + b^4)*sqrt(a^2 + a*b)) - (2*a^2*tan(d*x + c)^3 + 2*a*b*tan(d*x + c)^3 + b^2*tan(d*
x + c)^3 + 2*a^2*tan(d*x + c) + a*b*tan(d*x + c))/((a*tan(d*x + c)^4 + b*tan(d*x + c)^4 + 2*a*tan(d*x + c)^2 +
 b*tan(d*x + c)^2 + a)*(a*b^2 + b^3)) - (d*x + c)*(4*a - b)/b^3)/d

________________________________________________________________________________________

Mupad [B]
time = 16.06, size = 2295, normalized size = 15.51 \begin {gather*} \text {Too large to display} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sin(c + d*x)^6/(a + b*sin(c + d*x)^2)^2,x)

[Out]

(atan((((a + (5*b)/4)*(-a^3*(a + b)^3)^(1/2)*((tan(c + d*x)*(96*a^5*b - 4*a*b^5 + 32*a^6 + b^6 - 10*a^2*b^4 +
20*a^3*b^3 + 90*a^4*b^2))/(2*(a*b^4 + b^5)) + (((2*a*b^9 + 8*a^2*b^8 + 10*a^3*b^7 + 4*a^4*b^6)/(a*b^6 + b^7) +
 (tan(c + d*x)*(a + (5*b)/4)*(-a^3*(a + b)^3)^(1/2)*(80*a*b^9 + 16*b^10 + 144*a^2*b^8 + 112*a^3*b^7 + 32*a^4*b
^6))/(2*(a*b^4 + b^5)*(3*a*b^5 + b^6 + 3*a^2*b^4 + a^3*b^3)))*(a + (5*b)/4)*(-a^3*(a + b)^3)^(1/2))/(3*a*b^5 +
 b^6 + 3*a^2*b^4 + a^3*b^3))*1i)/(3*a*b^5 + b^6 + 3*a^2*b^4 + a^3*b^3) + ((a + (5*b)/4)*(-a^3*(a + b)^3)^(1/2)
*((tan(c + d*x)*(96*a^5*b - 4*a*b^5 + 32*a^6 + b^6 - 10*a^2*b^4 + 20*a^3*b^3 + 90*a^4*b^2))/(2*(a*b^4 + b^5))
- (((2*a*b^9 + 8*a^2*b^8 + 10*a^3*b^7 + 4*a^4*b^6)/(a*b^6 + b^7) - (tan(c + d*x)*(a + (5*b)/4)*(-a^3*(a + b)^3
)^(1/2)*(80*a*b^9 + 16*b^10 + 144*a^2*b^8 + 112*a^3*b^7 + 32*a^4*b^6))/(2*(a*b^4 + b^5)*(3*a*b^5 + b^6 + 3*a^2
*b^4 + a^3*b^3)))*(a + (5*b)/4)*(-a^3*(a + b)^3)^(1/2))/(3*a*b^5 + b^6 + 3*a^2*b^4 + a^3*b^3))*1i)/(3*a*b^5 +
b^6 + 3*a^2*b^4 + a^3*b^3))/((16*a^5*b + 8*a^6 + (5*a^2*b^4)/4 - (13*a^3*b^3)/2 + (3*a^4*b^2)/2)/(a*b^6 + b^7)
 + ((a + (5*b)/4)*(-a^3*(a + b)^3)^(1/2)*((tan(c + d*x)*(96*a^5*b - 4*a*b^5 + 32*a^6 + b^6 - 10*a^2*b^4 + 20*a
^3*b^3 + 90*a^4*b^2))/(2*(a*b^4 + b^5)) + (((2*a*b^9 + 8*a^2*b^8 + 10*a^3*b^7 + 4*a^4*b^6)/(a*b^6 + b^7) + (ta
n(c + d*x)*(a + (5*b)/4)*(-a^3*(a + b)^3)^(1/2)*(80*a*b^9 + 16*b^10 + 144*a^2*b^8 + 112*a^3*b^7 + 32*a^4*b^6))
/(2*(a*b^4 + b^5)*(3*a*b^5 + b^6 + 3*a^2*b^4 + a^3*b^3)))*(a + (5*b)/4)*(-a^3*(a + b)^3)^(1/2))/(3*a*b^5 + b^6
 + 3*a^2*b^4 + a^3*b^3)))/(3*a*b^5 + b^6 + 3*a^2*b^4 + a^3*b^3) - ((a + (5*b)/4)*(-a^3*(a + b)^3)^(1/2)*((tan(
c + d*x)*(96*a^5*b - 4*a*b^5 + 32*a^6 + b^6 - 10*a^2*b^4 + 20*a^3*b^3 + 90*a^4*b^2))/(2*(a*b^4 + b^5)) - (((2*
a*b^9 + 8*a^2*b^8 + 10*a^3*b^7 + 4*a^4*b^6)/(a*b^6 + b^7) - (tan(c + d*x)*(a + (5*b)/4)*(-a^3*(a + b)^3)^(1/2)
*(80*a*b^9 + 16*b^10 + 144*a^2*b^8 + 112*a^3*b^7 + 32*a^4*b^6))/(2*(a*b^4 + b^5)*(3*a*b^5 + b^6 + 3*a^2*b^4 +
a^3*b^3)))*(a + (5*b)/4)*(-a^3*(a + b)^3)^(1/2))/(3*a*b^5 + b^6 + 3*a^2*b^4 + a^3*b^3)))/(3*a*b^5 + b^6 + 3*a^
2*b^4 + a^3*b^3)))*(a + (5*b)/4)*(-a^3*(a + b)^3)^(1/2)*2i)/(d*(3*a*b^5 + b^6 + 3*a^2*b^4 + a^3*b^3)) - (atan(
((((((2*a*b^9 + 8*a^2*b^8 + 10*a^3*b^7 + 4*a^4*b^6)/(a*b^6 + b^7) - (tan(c + d*x)*(a*1i - (b*1i)/4)*(80*a*b^9
+ 16*b^10 + 144*a^2*b^8 + 112*a^3*b^7 + 32*a^4*b^6))/(2*b^3*(a*b^4 + b^5)))*(a*1i - (b*1i)/4))/b^3 - (tan(c +
d*x)*(96*a^5*b - 4*a*b^5 + 32*a^6 + b^6 - 10*a^2*b^4 + 20*a^3*b^3 + 90*a^4*b^2))/(2*(a*b^4 + b^5)))*(a*1i - (b
*1i)/4)*1i)/b^3 - (((((2*a*b^9 + 8*a^2*b^8 + 10*a^3*b^7 + 4*a^4*b^6)/(a*b^6 + b^7) + (tan(c + d*x)*(a*1i - (b*
1i)/4)*(80*a*b^9 + 16*b^10 + 144*a^2*b^8 + 112*a^3*b^7 + 32*a^4*b^6))/(2*b^3*(a*b^4 + b^5)))*(a*1i - (b*1i)/4)
)/b^3 + (tan(c + d*x)*(96*a^5*b - 4*a*b^5 + 32*a^6 + b^6 - 10*a^2*b^4 + 20*a^3*b^3 + 90*a^4*b^2))/(2*(a*b^4 +
b^5)))*(a*1i - (b*1i)/4)*1i)/b^3)/((16*a^5*b + 8*a^6 + (5*a^2*b^4)/4 - (13*a^3*b^3)/2 + (3*a^4*b^2)/2)/(a*b^6
+ b^7) + (((((2*a*b^9 + 8*a^2*b^8 + 10*a^3*b^7 + 4*a^4*b^6)/(a*b^6 + b^7) - (tan(c + d*x)*(a*1i - (b*1i)/4)*(8
0*a*b^9 + 16*b^10 + 144*a^2*b^8 + 112*a^3*b^7 + 32*a^4*b^6))/(2*b^3*(a*b^4 + b^5)))*(a*1i - (b*1i)/4))/b^3 - (
tan(c + d*x)*(96*a^5*b - 4*a*b^5 + 32*a^6 + b^6 - 10*a^2*b^4 + 20*a^3*b^3 + 90*a^4*b^2))/(2*(a*b^4 + b^5)))*(a
*1i - (b*1i)/4))/b^3 + (((((2*a*b^9 + 8*a^2*b^8 + 10*a^3*b^7 + 4*a^4*b^6)/(a*b^6 + b^7) + (tan(c + d*x)*(a*1i
- (b*1i)/4)*(80*a*b^9 + 16*b^10 + 144*a^2*b^8 + 112*a^3*b^7 + 32*a^4*b^6))/(2*b^3*(a*b^4 + b^5)))*(a*1i - (b*1
i)/4))/b^3 + (tan(c + d*x)*(96*a^5*b - 4*a*b^5 + 32*a^6 + b^6 - 10*a^2*b^4 + 20*a^3*b^3 + 90*a^4*b^2))/(2*(a*b
^4 + b^5)))*(a*1i - (b*1i)/4))/b^3))*(a*1i - (b*1i)/4)*2i)/(b^3*d) - ((tan(c + d*x)^3*(2*a*b + 2*a^2 + b^2))/(
2*b^2*(a + b)) + (a*tan(c + d*x)*(2*a + b))/(2*b^2*(a + b)))/(d*(a + tan(c + d*x)^4*(a + b) + tan(c + d*x)^2*(
2*a + b)))

________________________________________________________________________________________